﻿<?php

	require_once $_SERVER['DOCUMENT_ROOT'] . "/chimera/dao/ConteudoDAO.class.php";
	
	search::buscarConteudo();
	
	class search{
		
		function buscarConteudo(){
			
			$key = $_POST['search-post'];
			$idcategoria = $_GET['append'];
			$categoria = $_GET['match'];
			
			header("Location: ../pesquisa.php?append=".$idcategoria."&match=".$categoria."&key=".$key."");
			
		}
		
	}
	
?>